Skip to content

feat(MediaMtx.Cli): support GitCode download source - #1397

Merged
ArgoZhang merged 1 commit into
masterfrom
feat-cli
Dec 3, 2026
Merged

ArgoZhang merged 1 commit into
masterfrom
feat-cli

Conversation

@ArgoZhang

Copy link
Copy Markdown
Member

Link issues

fixes #1374

Summary By Copilot

  • Add --source to bb-mediamtx, with github.com as the default and gitcode.com as an opt-in source.
  • Route release metadata, asset URLs, and SHA-256 checksums through the selected GitHub or GitCode repository while sharing the existing MediaMTX cache.
  • Preserve cache reuse and --force behavior: sources do not trigger forced downloads, and no automatic fallback occurs between sources.
  • Update CLI package metadata and README with source selection, examples, cache behavior, and download-failure guidance.

Regression?

  • Yes
  • No

The change extends the opt-in standalone CLI download workflow; existing GitHub behavior remains the default.

Risk

  • High
  • Medium
  • Low

The change adds a second download host and validates release assets and checksums before deployment. GitCode is explicitly selected by the user and is not used as an automatic fallback.

Verification

  • Manual (required)
  • Automated

Read-only Git and GitHub checks confirmed a clean working tree, pushed feat-cli branch, matching local and remote HEAD, no open PR for feat-cli against master, and no matching GitCode Issue. No build or test was run by the Issue/PR workflow.

Packaging changes reviewed?

  • Yes
  • No
  • N/A

CLI package metadata and README updates were reviewed. MediaMTX binaries remain deployment-time downloads and are not bundled in the NuGet tool package.

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Merge the latest code from the main branch

@sourcery-ai

sourcery-ai Bot commented Dec 3, 2026

Copy link
Copy Markdown

Sorry @ArgoZhang, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 8 hours and 4 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@bb-auto bb-auto Bot added the enhancement New feature or request label Dec 3, 2026
@bb-auto bb-auto Bot added this to the v11.0.0 milestone Dec 3, 2026

@bb-auto bb-auto Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved by bb-auto

@ArgoZhang
ArgoZhang merged commit bf259e1 into master Dec 3, 2026
3 checks passed
@ArgoZhang
ArgoZhang deleted the feat-cli branch December 3, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(MediaMtx.Cli): add standalone tool deployment CLI

1 participant